package com.example.dto;

import lombok.Data;
import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
public class RechargeRecordQueryDTO {
    
    private Integer page = 1; // 页码，默认第1页
    
    private Integer size = 10; // 每页大小，默认10条
    
    private Long userId; // 用户ID
    
    private String username; // 用户名
    
    private BigDecimal minAmount; // 最小充值金额
    
    private BigDecimal maxAmount; // 最大充值金额
    
    private String rechargeType; // 充值类型
    
    private String paymentMethod; // 支付方式
    
    private Integer status; // 充值状态
    
    private LocalDateTime startTime; // 开始时间
    
    private LocalDateTime endTime; // 结束时间
    
    private String orderNo; // 订单号
    
    private Long operatorId; // 操作员ID
    
    private String operatorName; // 操作员姓名
    
    @Override
    public String toString() {
        return "RechargeRecordQueryDTO{" +
                "page=" + page +
                ", size=" + size +
                ", userId=" + userId +
                ", username='" + username + '\'' +
                ", minAmount=" + minAmount +
                ", maxAmount=" + maxAmount +
                ", rechargeType='" + rechargeType + '\'' +
                ", paymentMethod='" + paymentMethod + '\'' +
                ", status=" + status +
                ", startTime=" + startTime +
                ", endTime=" + endTime +
                ", orderNo='" + orderNo + '\'' +
                ", operatorId=" + operatorId +
                ", operatorName='" + operatorName + '\'' +
                '}';
    }
}
